//
//  BTChatBarToolViewCell.m
//  BaiTengIM
//
//  Created by awh on 2019/6/29.
//  Copyright © 2019 awh. All rights reserved.
//

#import "BTChatBarToolViewCell.h"
#import "BTChatBarToolModel.h"

@interface BTChatBarToolViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *titlelabel;
@property (weak, nonatomic) IBOutlet UIImageView *imageview;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@end

@implementation BTChatBarToolViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    _nameLabel.textColor=KHEXCOLOR(@"#AFAFAF");
    // Initialization code
}

- (void)setTool:(BTChatBarToolModel *)tool {
    _tool = tool;
    self.imageview.image = [UIImage imageNamed:tool.imageName];
    self.nameLabel.text = tool.title;
}
@end
